.header{
  padding: 10px 15px 10px 15px;
  // border-bottom:1px solid #efefef;
}

.footer{
  padding: 10px 15px 10px 15px;
}


.editor{
  // position: fixed;
  padding: 15px;
  margin:0px;
  outline:0px;
  min-height:160px;
  // -webkit-user-modify: read-write-plaintext-only;
  // -moz-user-modify: read-write-plaintext-only;
  height: 100%;
  width:100%;
  overflow-y: scroll;
  box-sizing: border-box;
}

.editor img{
  /*如果开启 display: block，会出现换行输入文字后，无法删除图片的问题*/
  /* display: block; */
  min-height: 40px;
  min-width: 40px;
  max-width: 80%;
  -webkit-user-modify: read-write;
  vertical-align: bottom;
}

.editor img[src=""],
.editor img:not([src]) {
  /* display: block; */
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  background-image:url();
  background-color: #efefef;
}

/*为空时显示 element attribute content*/
.editor:empty:before{
  content: attr(placeholder);   /* element attribute*/
  color:#a2a2a2;
}
/*焦点时内容为空*/
.editor:focus:before{
  content:none;
}



.add-image{
  line-height: 16px;
  font-size: 14px;
  > svg{
    float:left;
    margin-right:5px;
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
}